package com.suntianci.stock;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @ClassName StockApp
 * @Author 孙天赐
 * @Date 2025/12/24 13:12
 * @Description TODO:backend工程SpringBoot启动类
 */
@SpringBootApplication
@MapperScan("com.suntianci.stock.mapper")  // 扫描持久层mapper接口，生成代理对象，并维护到spring的IOC容器中
public class StockApp {
    public static void main(String[] args) {
        SpringApplication.run(StockApp.class, args);
    }
}
